#ifndef _NRF24L01_H_
#define _NRF24L01_H_

#include "stm32f10x.h"

uint8_t Sw_ReadIRQ(void);
uint8_t Sw_ReadReg(uint8_t reg);
void Sw_WriteReg(uint8_t reg, uint8_t val);
void Sw_WriteBuf(uint8_t reg, uint8_t *buf, uint8_t len);
void Sw_ReadBuf(uint8_t reg, uint8_t *buf, uint8_t len);
void Sw_Nrf24L01Init(void);
void Sw_RecvData(uint8_t *buf);
uint8_t Sw_SendData(uint8_t *buf);

#endif
